<script setup lang="tsx" generic="T extends string">
  defineEmits<{
    (e: 'update', v: T): void
  }>()
  const slots = defineSlots<{ title(...args: []): any }>()
  defineRender(() => (
    <div>
      <span>Hello</span>
      <span>{slots.title()}</span>
    </div>
  ))
</script>
